<style type="text/css">
.duo-bt span, .duo-li span{padding-bottom:1px;border-bottom: 2px solid #000;}
.duo-li p{display:inline;margin:0;margin-block-start:0;margin-block-end:0;margin-inline-start:0;margin-inline-end:0;}	
</style><?php
$url='.';
    include './c/config.php';
    $mysqli = new mysqli($dbhost, $dbuser, $dbpwd, $dbName);
    if (!$mysqli->set_charset("utf8")) {printf("Error loading character set utf8: %s\n", $mysqli->error);}
    $query=$mysqli->query("SELECT * FROM `ti` where step=2");
    $i=1;
    $hide='hide';
      while ($list=$query->fetch_array()) {  ?><div class="duo-bt duo-bt<?php echo $i;  ?> hide2"><?php echo $list['title'];  ?></div>
<div class="duo-abcd duo-t<?php echo $i;  ?> hide2">
<div class="duo-li dx-a"><img class="dx-li-ico dx-li-a" src="<?php echo $url; ?>/img/k.png" /> <p><?php echo $list['da'];  ?></p></div>
<div class="duo-li dx-b"><img class="dx-li-ico dx-li-b" src="<?php echo $url; ?>/img/k.png" /> <p><?php echo $list['db'];  ?></p></div>
<div class="duo-li dx-c"><img class="dx-li-ico dx-li-c" src="<?php echo $url; ?>/img/k.png" /> <p><?php echo $list['dc'];  ?></p></div>
<div class="duo-li dx-d"><img class="dx-li-ico dx-li-d" src="<?php echo $url; ?>/img/k.png" /> <p><?php echo $list['dd'];  ?></p></div>
</div>
<?php $i++;} ?>